#include <REGX52.H>
#include <INTRINS.H>

void Delay(unsigned int xms)
{
	unsigned char i, j;
while(xms--)
	{
	i = 2;
	j = 199;
	do
	{
		while (--j);
	} while (--i);


	}
}

void Delay500us()		//@11
{
	unsigned char i;

	_nop_();
	i = 227;
	while (--i);

}
